import http from '@/utils/axios.js'

export const getTagPageListAPI = (params) => http.post("/admin/tag/list", params)

export const addTagAPI = (params) => http.post("/admin/tag/add", params)

export const deleteTagAPI = (params) => http.post("/admin/tag/delete", params)

// 根据标签名模糊查询
export const searchTagsAPI = (key) => http.post("/admin/tag/search", { key })

// 获取标签 select 列表数据
export const getTagSelectListAPI = () => http.post("/admin/tag/select/list")
